<html>
<head>
<!--    <script async=""-->
<!--            src="https://passport.baidu.com/channel/unicast?channel_id=v1_befd4d5f37a6456f9ca45b25a0c07&amp;tpl=tb&amp;gid=C0DB96E-16F5-4243-A643-423D810F58A8&amp;callback=tangram_guid_1612838433592&amp;apiver=v3&amp;tt=1612838464585&amp;_=1612838464586"></script>-->
<!--    <script async="" src="http://passport.baidu.com/static/passpc-base/js/dv/g.min.js" id="new_FIAOWNBFDIQILY"></script>-->
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="baidu-site-verification" content="jpBCrwX689">
    <meta name="baidu-site-verification" content="code-ku2CCMz5nv">
<!--    <link rel="search" type="application/opensearchdescription+xml" href="/tb/cms/content-search.xml" title="百度贴吧">-->
    <title>登录_百度贴吧</title>
<!--    <script src="https://hm.baidu.com/hm.js?98b9d8c2fd6608d564bf2ac2ae642948"></script>-->
<!--    <script async="" src="http://fex.bdstatic.com/hunter/alog/alog.min.js?v=-18668-18668"></script>-->
    <script type="text/javascript">void function (t, e, n, a, o, i, r) {
        t.alogObjectName = o, t[o] = t[o] || function () {
            (t[o].q = t[o].q || []).push(arguments)
        }, t[o].l = t[o].l || +new Date, a = "https:" === t.location.protocol ? "https://fex.bdstatic.com" + a : "http://fex.bdstatic.com" + a;
        var c = !0;
        if (t.alogObjectConfig && t.alogObjectConfig.sample) {
            var s = Math.random();
            t.alogObjectConfig.rand = s, s > t.alogObjectConfig.sample && (c = !1)
        }
        c && (i = e.createElement(n), i.async = !0, i.src = a + "?v=" + ~(new Date / 864e5) + ~(new Date / 864e5), r = e.getElementsByTagName(n)[0], r.parentNode.insertBefore(i, r))
    }(window, document, "script", "/hunter/alog/alog.min.js", "alog"), void function () {
        function t() {
        }

        window.PDC = {
            mark: function (t, e) {
                alog("speed.set", t, e || +new Date), alog.fire && alog.fire("mark")
            }, init: function (t) {
                alog("speed.set", "options", t)
            }, view_start: t, tti: t, page_ready: t
        }
    }(), void function (t) {
        var e = !1;
        t.onerror = function (t, n, a, o) {
            var i = !0;
            return !n && /^script error/i.test(t) && (e ? i = !1 : e = !0), i && alog("exception.send", "exception", {
                msg: t,
                js: n,
                ln: a,
                col: o
            }), !1
        }, alog("exception.on", "catch", function (t) {
            alog("exception.send", "exception", {msg: t.msg, js: t.path, ln: t.ln, method: t.method, flag: "catch"})
        })
    }(window), window.xssfw = function (t) {
        function e(t, e) {
            if (!(10 < ++p)) {
                var n = {type: "INLINE", path: t, code: e.substr(0, 400), len: e.length};
                alog("xss.send", "xss", n), d.push(n), c()
            }
        }

        function n(t, e) {
            if (t && 0 != e) {
                var a = t.tagName;
                if ("BODY" != a) {
                    t.id && (a += "#" + t.id);
                    var o = t.className;
                    return o && (a += "." + o.split(" ")[0]), (o = n(t.parentNode, e - 1)) ? o + " " + a : a
                }
            }
        }

        function a(t) {
            for (var e = g.length - 1; e >= 0; e--) {
                var n = g[e];
                if (t > n.b) return n
            }
        }

        function o(t) {
            for (var e = f.length - 1; e >= 0; e--) {
                var n = f[e];
                if (n.b.test(t)) return n
            }
        }

        function i(t, i) {
            function r(s) {
                var l = s._k;
                if (l || (l = s._k = ++u), l = l << 8 | i, !m[l] && (m[l] = !0, 1 == s.nodeType)) {
                    var f;
                    s[t] && (f = s.getAttribute(t)) && (l = a(f.length) || o(f) || {}, l.a && (s[t] = null), l.c && e(n(s, 5) + "[" + t + "]", f)), c && "A" == s.tagName && "javascript:" == s.protocol && (f = s.href.substr(11), l = a(f.length) || o(f) || {}, l.a && (s.href = "javascript:void(0)"), l.c && e(n(s, 5) + "[href]", f)), r(s.parentNode)
                }
            }

            var c = "onclick" == t;
            document.addEventListener(t.substr(2), function (t) {
                r(t.target)
            }, !0)
        }

        function r(t) {
            var e = [];
            if (t) for (var n = t.length - 1; n >= 0; n--) {
                var a = t[n], o = a.target;
                e.push({b: a.match, a: /D/.test(o), c: /W/.test(o)})
            }
            return e
        }

        function c() {
            if (s) {
                for (var t = 0; t < d.length; t++) s(d[t]);
                d = []
            }
        }

        var s, l, f, g, p = 0, m = {}, u = 0, d = [], h = {};
        return h.init = function (e) {
            if (t.addEventListener && !l) {
                l = !0, alog("xss.create", {
                    dv: 5,
                    postUrl: "https:" === document.location.protocol ? "https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK/tb/pms/img/st.gif" : "https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK/tb/pms/img/st.gif",
                    page: "tb-xss"
                }), g = r(e["len-limit"]), f = r(e["key-limit"]), e = 0;
                for (var n in document) /^on./i.test(n) && i(n, e++)
            }
        }, h.watch = function (t) {
            s = t, c()
        }, h
    }(this), xssfw.init({
        "len-limit": [{match: 400, target: "Warn"}],
        "key-limit": [{match: /createElement/, target: "Warn"}, {
            match: /fromCharCode|eval|getScript|xss/,
            target: "Warn,Deny"
        }, {match: /alert\(|prompt/, target: "Warn"}]
    });</script>
    <!--[if lt IE 9]><script>(function(){    var tags = ['header','footer','figure','figcaption','details','summary','hgroup','nav','aside','article','section','mark','abbr','meter','output','progress','time','video','audio','canvas','dialog'];    for(var i=tags.length - 1;i>-1;i--){ document.createElement(tags[i]);}})();</script><![endif]-->
    <link rel="shortcut icon" href="//tb1.bdstatic.com/tb/favicon.ico">
    <link rel="stylesheet"
          href="//tb1.bdstatic.com/??tb/static-common/style/tb_ui_cc7cc6e.css,tb/static-common/style/tb_common_1f3c6f0.css">
    <link rel="stylesheet"
          href="//tb1.bdstatic.com/??/tb/_/card_86ffd75.css,/tb/_/js_pager_5be1e39.css,/tb/_/login_dialog_8a04ca3.css,/tb/_/user_head_35f26e0.css,/tb/_/icons_a2a62be.css,/tb/_/wallet_dialog_3dd7f7b.css,/tb/_/flash_lcs_d41d8cd.css,/tb/_/new_message_system_9425a2a.css,/tb/_/base_user_data_8391559.css,/tb/_/cashier_dialog_7b07e3f.css,/tb/_/qianbao_cashier_dialog_32966aa.css,/tb/_/base_dialog_user_bar_362ad46.css,/tb/_/qianbao_purchase_member_8559cf6.css,/tb/_/pay_member_d41d8cd.css,/tb/_/http_transform_d41d8cd.css,/tb/_/userbar_ced98ce.css,/tb/_/poptip_f0fdc70.css,/tb/_/tb_login_form_5138ed9.css,/tb/_/tb_login_3834296.css">
    <script>    var PageData = {"tbs": "", "charset": "UTF-8", "product": "tb", "page": "tb_login"};
    PageData.user = {
        "id": "",
        "user_id": "",
        "name": "",
        "user_name": "",
        "user_nickname": "",
        "name_url": "",
        "no_un": 0,
        "is_login": 0,
        "portrait": "",
        "balv": {}, /* Ban 这个模块真够讨厌的 */
        "Parr_props": null,
        "Parr_scores": null,
        "mParr_props": null,
        "vipInfo": null,
        "new_iconinfo": null,
        "power": {},
        "pb_login_switch": null,
    };
    PageData.search_what = "";
    var Env = {server_time: 1612838432000};
    var Tbs = {"common": ""};</script>
    <script type="text/javascript">function resizePic_temp(e, t, i, s, n) {
        function r(e, t, i, s) {
            var n = 0, r = e, a = t;
            switch (e > i && (n += 1), t > s && (n += 2), n) {
                case 1:
                    r = i, a = t * i / e;
                case 2:
                    a = s, r = e * s / t;
                case 3:
                    a = t / s > e / i ? s : t * i / e, r = t / s > e / i ? e * s / t : i
            }
            return 0 != n && (l = !0), [r, a]
        }

        var a = t || 120, c = i || 120, l = !1, p = new Image;
        p.src = e.src;
        var h = r(p.width, p.height, a, c);
        return e.style.width = h[0] + "px", e.style.height = h[1] + "px", "function" == typeof n && n.apply(this, arguments), e.style.visibility = "visible", 1 == s && (e.style.marginTop = (i - parseInt(h[1])) / 2 + "px"), p = null, l
    }</script>
    <script type="text/javascript">alog("speed.set", "ht", new Date);</script>
    <script>var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?98b9d8c2fd6608d564bf2ac2ae642948";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();</script>
<!--    <script type="text/javascript" src="//tb1.bdstatic.com/tb/static-common/component/commonLogic/common/common_default_merger.js?v=18.7"></script>-->
    <script type="text/javascript" src="https://passport.baidu.com/passApi/js/wrapper.js?cdnversion=26880640"
            charset="utf-8"></script>
    <!--<script type="text/javascript" charset="UTF-8"
            src="http://passport.bdimg.com/passApi/js/loginv4_tangram_41bb8be.js"></script>-->
    <script type="text/javascript" charset="UTF-8"
            src="https://wappass.baidu.com/static/waplib/moonshad.js?tt=1612838433599"></script>
    <script type="text/javascript" charset="UTF-8"
            src="http://passport.baidu.com/static/passpc-base/js/ld.min.js?cdnversion=1612838433951"></script>
    <script type="text/javascript" charset="UTF-8"
            src="http://wappass.baidu.com/static/machine/js/api/mkd.js?cdnversion=1612838433951"></script>
    <script type="text/javascript" charset="UTF-8"
            src="https://wappass.baidu.com/static/touch/js/lib/fingerprint.js"></script>
    <link rel="stylesheet" type="text/css" href="https://wappass.baidu.com/static/machine/css/api/mkd_7fa0033.css">
    <script src="/js/plugins/js-cookie/js.cookie.min.js"></script>
    <script src="/js/vue/md5.js"></script>
    <script src="/js/jquery/jquery.js"></script>
    <script src="/js/vue/common.js"></script>
    <script src="/js/plugins/jquery-form/jquery.form.js"></script>
</head>
<script>
    $(function () {
        $("#TANGRAM__PSP_4__submit").click(function () {
            $("#TANGRAM__PSP_4__form").ajaxSubmit({
                url:domainUrl +"/users/login",
                type:"POST",
                success:function (data) {
                    if(data.code == 200){
                        var map = data.data;
                        var token = map.token;  //后续后端获取当前登录用户信息
                        var user = map.user;  //前端页面需要显示用户信息
                        console.log(data);
                        //sessionStorage  客户端技术可以在浏览器窗口存储数据, 一但关闭窗口,
                        // 数据就没了, 是如果多个窗口, 数据无法共享

                        //localStorage  客户端技术可以在浏览器窗口存储数据, 数据操作是永久

                        //cookie 客户端技术可以在浏览器窗口存储数据, 特点有时效性

                        //参数1:cookie的key值, 参数2: cookie的value值, 参数3: 有效时间, 单位天
                        Cookies.set('user', JSON.stringify(user), { expires: 1/48,path:'/'});
                        Cookies.set('token', token, { expires: 1/48,path:'/'});
                        //document.referrer 上一个请求路径
                        var url = document.referrer ? document.referrer : "/";
                        if(url.indexOf("regist.html") > -1 || url.indexOf("login.html") > -1){
                            url = "/";
                        }
                        window.location.href = url
                    }else{
                        console.log(data);
                        popup(data.msg);
                    }
                }
            })
        })
    })
</script>
<body>
<div class="wrap1">
    <div class="wrap2">
        <div class="bg_container">
            <div id="hd"><a rel="noreferrer" href="//tieba.baidu.com" target="_blank" class="logo"></a></div>
            <div id="bd">
                <div class="login_content"><a rel="noreferrer" name="login_anchor"></a>
                    <div class="login_form_wrapper">
                        <div id="passport-login-pop"
                             class="tang-pass-pop-login-noimg tang-pass-pop-login-merge tang-pass-pop-login-color-blue tang-pass-pop-login">
                            <div class="tang-foreground">
                                <div class="tang-body">
                                    <div class="tang-content">
                                        <div id="passport-login-pop-dialog">
                                            <div class="clearfix">
                                                <div class="pass-login-pop-content">
                                                    <div class="pass-login-pop-form">
                                                        <div id="login_form" class="tang-pass-login"></div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="tang-footer" style="display: none;">
                                    <div></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="login_footer" style="position: static;">©2021 Baidu<a rel="noreferrer"
                                                                                      href="#"
                                                                                      target="_blank">贴吧协议</a><span>|</span><a
                            rel="noreferrer" href="#"
                            target="_blank">吧主制度</a><span>|</span><a rel="noreferrer"
                                                                     href="#"
                                                                     target="_blank">意见反馈</a><span>|</span><a
                            rel="noreferrer" href="#" target="_blank">网络谣言警示</a></div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">alog && alog("speed.set", "drt", +new Date);</script>
<script>PageUnitData = {};</script>
<!--<script src="//tb1.bdstatic.com/??tb/static-common/lib/tb_lib_384d873.js,tb/static-common/ui/common_logic_v2_d234a93.js,tb/static-common/js/tb_ui_d99119b.js,/tb/_/ban_8422f6c.js"></script>-->
<script>    (function (F) {
    var _JSSTAMP = {
        "common/widget/login_dialog/login_dialog.js": "/tb/_/login_dialog_e6843d3.js",
        "common/component/slide_show/slide_show.js": "/tb/_/slide_show_27c9ac6.js",
        "common/widget/lcs/lcs.js": "/tb/_/lcs_43bf602.js",
        "common/widget/card/card.js": "/tb/_/card_99bd0cd.js",
        "common/widget/wallet_dialog/wallet_dialog.js": "/tb/_/wallet_dialog_ab5f9b0.js",
        "common/widget/new_message_system/new_message_system.js": "/tb/_/new_message_system_14c29aa.js",
        "common/widget/cashier_dialog/cashier_dialog.js": "/tb/_/cashier_dialog_0c1473f.js",
        "common/widget/messenger/messenger.js": "/tb/_/messenger_040cae5.js",
        "common/widget/base_user_data/base_user_data.js": "/tb/_/base_user_data_72c8498.js",
        "common/widget/pay_member/pay_member.js": "/tb/_/pay_member_440a15e.js",
        "common/widget/http_transform/http_transform.js": "/tb/_/http_transform_e33a140.js",
        "common/widget/search_handler/search_handler.js": "/tb/_/search_handler_638443d.js",
        "common/widget/suggestion/suggestion.js": "/tb/_/suggestion_1902cc7.js",
        "common/widget/animate_base/animate_base.js": "/tb/_/animate_base_51879f8.js",
        "common/component/captcha/captcha.js": "/tb/_/captcha_28c5dc5.js",
        "common/component/captcha_meizhi/captcha_meizhi.js": "/tb/_/captcha_meizhi_5f61aad.js",
        "common/component/image_uploader/image_uploader.js": "/tb/_/image_uploader_bdbf433.js",
        "common/component/image_exif/image_exif.js": "/tb/_/image_exif_1b57cf0.js",
        "common/component/captcha_dialog/captcha_dialog.js": "/tb/_/captcha_dialog_b73e617.js",
        "common/component/postor_service/postor_service.js": "/tb/_/postor_service_53ed8e8.js",
        "common/component/scroll_panel/scroll_panel.js": "/tb/_/scroll_panel_9e28dd8.js",
        "common/component/suggestion/suggestion.js": "/tb/_/suggestion_9b05426.js",
        "common/component/toolbar/toolbar.js": "/tb/_/toolbar_5516683.js",
        "common/component/sketchpad_dialog/sketchpad_dialog.js": "/tb/_/sketchpad_dialog_abf416a.js",
        "common/component/tabs/tabs.js": "/tb/_/tabs_fca6d95.js",
        "common/widget/word_limit/word_limit.js": "/tb/_/word_limit_c99778f.js",
        "common/widget/aside_float_bar/aside_float_bar.js": "/tb/_/aside_float_bar_fdcd8e0.js",
        "common/component/editor_pic/editor_pic.js": "/tb/_/editor_pic_e438e58.js",
        "common/component/editor_video/editor_video.js": "/tb/_/editor_video_a1c7028.js",
        "common/component/editor_smiley/editor_smiley.js": "/tb/_/editor_smiley_8ce8765.js",
        "common/component/editor_music/editor_music.js": "/tb/_/editor_music_d741e09.js",
        "common/component/editor_sketchpad/editor_sketchpad.js": "/tb/_/editor_sketchpad_796a342.js",
        "common/component/area_select/area_select.js": "/tb/_/area_select_f396383.js",
        "common/component/follower/follower.js": "/tb/_/follower_7ce74f3.js",
        "common/widget/image_uploader_manager/image_uploader_manager.js": "/tb/_/image_uploader_manager_e88feae.js",
        "common/component/sketchpad/sketchpad.js": "/tb/_/sketchpad_9e641e8.js",
        "common/component/interest_smiley/interest_smiley.js": "/tb/_/interest_smiley_c9da6ca.js",
        "common/component/animate_keyframes_bouncein/animate_keyframes_bouncein.js": "/tb/_/animate_keyframes_bouncein_8d70c27.js",
        "common/component/animate_keyframes_bounceout/animate_keyframes_bounceout.js": "/tb/_/animate_keyframes_bounceout_8f15463.js",
        "common/component/animate_keyframes_fadein/animate_keyframes_fadein.js": "/tb/_/animate_keyframes_fadein_178e937.js",
        "common/component/animate_keyframes_fadeout/animate_keyframes_fadeout.js": "/tb/_/animate_keyframes_fadeout_44f964c.js",
        "common/component/animate_keyframes_flip/animate_keyframes_flip.js": "/tb/_/animate_keyframes_flip_44dec23.js",
        "common/component/animate_keyframes_focus/animate_keyframes_focus.js": "/tb/_/animate_keyframes_focus_de0bedc.js",
        "common/component/animate_keyframes_lightspeed/animate_keyframes_lightspeed.js": "/tb/_/animate_keyframes_lightspeed_6109fe5.js",
        "common/component/animate_keyframes_rotatein/animate_keyframes_rotatein.js": "/tb/_/animate_keyframes_rotatein_0b7ba89.js",
        "common/component/animate_keyframes_rotateout/animate_keyframes_rotateout.js": "/tb/_/animate_keyframes_rotateout_884da6a.js",
        "common/component/animate_keyframes_slidein/animate_keyframes_slidein.js": "/tb/_/animate_keyframes_slidein_38b544d.js",
        "common/component/animate_keyframes_slideout/animate_keyframes_slideout.js": "/tb/_/animate_keyframes_slideout_a86a043.js",
        "common/component/animate_keyframes_special/animate_keyframes_special.js": "/tb/_/animate_keyframes_special_fa9a9be.js",
        "common/component/animate_keyframes_zoomin/animate_keyframes_zoomin.js": "/tb/_/animate_keyframes_zoomin_9b12f77.js",
        "common/component/animate_keyframes_zoomout/animate_keyframes_zoomout.js": "/tb/_/animate_keyframes_zoomout_73cbdb0.js",
        "common/widget/tbshare/tbshare.js": "/tb/_/tbshare_0f12fc7.js",
        "user/widget/icons/icons.js": "/tb/_/icons_cab285d.js",
        "user/widget/user_api/user_api.js": "/tb/_/user_api_c1c17f1.js",
        "common/widget/qianbao_purchase_member/qianbao_purchase_member.js": "/tb/_/qianbao_purchase_member_2c59a8b.js",
        "common/widget/tdou/tdou_open_type.js": "/tb/_/tdou_open_type_6e74792.js",
        "common/widget/qianbao_cashier_dialog/qianbao_cashier_dialog.js": "/tb/_/qianbao_cashier_dialog_58f818f.js",
        "common/widget/base_dialog_user_bar/base_dialog_user_bar.js": "/tb/_/base_dialog_user_bar_9d205a7.js",
        "common/widget/show_dialog/show_dialog.js": "/tb/_/show_dialog_1644928.js",
        "common/widget/placeholder/placeholder.js": "/tb/_/placeholder_e682b0c.js",
        "common/widget/tbcopy/tbcopy.js": "/tb/_/tbcopy_a946019.js",
        "common/widget/tdou_get/tdou_get.js": "/tb/_/tdou_get_ed8eb55.js",
        "common/widget/umoney_query/umoney_query.js": "/tb/_/umoney_query_c9b7960.js",
        "common/widget/qianbao_purchase_tdou/qianbao_purchase_tdou.js": "/tb/_/qianbao_purchase_tdou_f7bef41.js",
        "common/widget/umoney/umoney.js": "/tb/_/umoney_ed41085.js",
        "common/widget/payment_dialog_title/payment_dialog_title.js": "/tb/_/payment_dialog_title_a606194.js",
        "common/widget/tdou/tdou_data.js": "/tb/_/tdou_data_621617e.js",
        "common/widget/tdou/tdou_view_pay.js": "/tb/_/tdou_view_pay_166b2c6.js",
        "common/widget/audio_player/audio_player.js": "/tb/_/audio_player_3ce73ee.js",
        "common/widget/voice_player/voice_player.js": "/tb/_/voice_player_9a9b6dc.js",
        "common/component/js_pager/js_pager.js": "/tb/_/js_pager_ebc4a27.js",
        "common/widget/user_head/user_head.js": "/tb/_/user_head_e60a83e.js",
        "common/component/image_previewer/image_previewer.js": "/tb/_/image_previewer_73d5f03.js",
        "common/component/image_editor/image_editor.js": "/tb/_/image_editor_7d1aff6.js",
        "common/component/image_previewer_list/image_previewer_list.js": "/tb/_/image_previewer_list_67f0ada.js",
        "common/component/image_previewer_rotate/image_previewer_rotate.js": "/tb/_/image_previewer_rotate_c7cabf0.js",
        "common/component/image_uploader_queue/image_uploader_queue.js": "/tb/_/image_uploader_queue_233b0a9.js",
        "common/component/image_progress_bar/image_progress_bar.js": "/tb/_/image_progress_bar_12c6eb4.js",
        "common/widget/block_user/block_user.js": "/tb/_/block_user_639364d.js",
        "common/widget/pic_poster/pic_poster.js": "/tb/_/pic_poster_c887e05.js",
        "common/component/image_water/image_water.js": "/tb/_/image_water_bc89548.js",
        "common/widget/scroll_panel/scroll_panel.js": "/tb/_/scroll_panel_51b7780.js",
        "common/component/image_flash_editor/image_flash_editor.js": "/tb/_/image_flash_editor_7e35ada.js",
        "common/widget/params_xss_handler/params_xss_handler.js": "/tb/_/params_xss_handler_bbb0828.js",
        "common/widget/bsk_service/bsk_service.js": "/tb/_/bsk_service_72c6560.js",
        "common/component/select/select.js": "/tb/_/select_8d82f79.js",
        "common/widget/jiyan_service/jiyan_service.js": "/tb/_/jiyan_service_44ae7c8.js",
        "common/widget/post_service/post_service.js": "/tb/_/post_service_ca24ea9.js",
        "common/widget/post_prefix/post_prefix.js": "/tb/_/post_prefix_daad9e7.js",
        "common/widget/post_signature/post_signature.js": "/tb/_/post_signature_8c3c4ae.js",
        "common/widget/mouse_pwd/mouse_pwd.js": "/tb/_/mouse_pwd_f31d0b4.js",
        "common/component/bubble_factory/bubble_factory.js": "/tb/_/bubble_factory_f970c47.js",
        "common/component/quick_reply_edit/quick_reply_edit.js": "/tb/_/quick_reply_edit_9678e8c.js",
        "common/widget/paypost_data/paypost_data.js": "/tb/_/paypost_data_62a7ae4.js",
        "common/component/slide_select/slide_select.js": "/tb/_/slide_select_01ec4cf.js",
        "common/component/post_props/post_props.js": "/tb/_/post_props_73bc086.js",
        "common/component/attachment_uploader/attachment_uploader.js": "/tb/_/attachment_uploader_a9da3e8.js",
        "common/component/picture_album_selector/picture_album_selector.js": "/tb/_/picture_album_selector_6b0a6cf.js",
        "common/component/picture_selector/picture_selector.js": "/tb/_/picture_selector_cdb8e17.js",
        "common/component/picture_uploader/picture_uploader.js": "/tb/_/picture_uploader_3934de1.js",
        "common/component/picture_web_selector/picture_web_selector.js": "/tb/_/picture_web_selector_e8909b0.js",
        "common/component/scrawl/scrawl.js": "/tb/_/scrawl_e0ae790.js",
        "common/component/ueditor_emotion/ueditor_emotion.js": "/tb/_/ueditor_emotion_a903913.js",
        "common/component/ueditor_music/ueditor_music.js": "/tb/_/ueditor_music_0276fa3.js",
        "common/component/ueditor_video/ueditor_video.js": "/tb/_/ueditor_video_fd96c67.js",
        "common/component/slide_select_image/slide_select_image.js": "/tb/_/slide_select_image_e6dbcd3.js",
        "common/component/colorful/colorful.js": "/tb/_/colorful_4f85c36.js",
        "common/component/custom_emotion/custom_emotion.js": "/tb/_/custom_emotion_c7f15af.js",
        "common/component/post_bubble/post_bubble.js": "/tb/_/post_bubble_9f3833e.js",
        "common/component/tb_gram/tb_gram.js": "/tb/_/tb_gram_5afa029.js",
        "common/component/formula/formula.js": "/tb/_/formula_58b7814.js",
        "common/component/post_setting/post_setting.js": "/tb/_/post_setting_ac01c94.js",
        "common/component/paypost/paypost.js": "/tb/_/paypost_62e57ae.js",
        "common/widget/join_vip_dialog/join_vip_dialog.js": "/tb/_/join_vip_dialog_e8b24ea.js",
        "common/component/quick_reply_data_handler/quick_reply_data_handler.js": "/tb/_/quick_reply_data_handler_256a70d.js",
        "common/widget/detect_manager_block/detect_manager_block.js": "/tb/_/detect_manager_block_713b838.js",
        "common/widget/verify_manager_phone/verify_manager_phone.js": "/tb/_/verify_manager_phone_6f07b28.js",
        "common/widget/tb_lcs/tb_lcs.js": "/tb/_/tb_lcs_544b5c9.js",
        "common/widget/event_center/event_center.js": "/tb/_/event_center_ca531c9.js"
    };
    F.tbConfig(_JSSTAMP);
})/*(F);*/</script>
<!--<script src="//tb1.bdstatic.com/??/tb/_/app_f6b8e80.js,/tb/_/card_99bd0cd.js,/tb/_/js_pager_ebc4a27.js,/tb/_/login_dialog_e6843d3.js,/tb/_/user_head_e60a83e.js,/tb/_/user_api_c1c17f1.js,/tb/_/icons_cab285d.js,/tb/_/wallet_dialog_ab5f9b0.js,/tb/_/event_center_ca531c9.js,/tb/_/lcs_43bf602.js,/tb/_/tb_lcs_544b5c9.js,/tb/_/flash_lcs_ccd5d3e.js,/tb/_/new_message_system_14c29aa.js,/tb/_/messenger_040cae5.js,/tb/_/base_user_data_72c8498.js,/tb/_/cashier_dialog_0c1473f.js,/tb/_/qianbao_cashier_dialog_58f818f.js,/tb/_/base_dialog_user_bar_9d205a7.js,/tb/_/qianbao_purchase_member_2c59a8b.js,/tb/_/pay_member_440a15e.js,/tb/_/http_transform_e33a140.js,/tb/_/userbar_a657792.js,/tb/_/footer_af59471.js,/tb/_/poptip_74068e9.js,/tb/_/ad_stats_008fc58.js,/tb/_/tb_login_form_985f1fc.js"></script>-->
<script>window.modDiscardTemplate = {};</script>
<!--<script>    _.Module.use('creativeplatform/widget/aopApp', [[]]);</script>-->
<!--<script>    _.Module.use('common/component/tb_login_form', ['"tbLoginForm"', '0']);</script>-->
<div id="tiebaCustomPassLogin" class="tieba-custom-pass-login" style="display: block;">
    <div class="tieba-login-background"></div>
    <div class="tieba-login-wrapper">
        <div id="tiebaLoginId" class="tang-pass-login" style="display: block; visibility: visible; opacity: 1;">
            <form id="TANGRAM__PSP_4__form" class="pass-form pass-form-normal" method="POST" autocomplete="off">
                <p class="pass-form-logo">用户名密码登录</p>
                <p id="TANGRAM__PSP_4__errorWrapper" class="pass-generalErrorWrapper"><span id="TANGRAM__PSP_4__error"
                                                                                            class="pass-generalError pass-generalError-error"></span>
                </p>
                <p id="TANGRAM__PSP_4__MakeTextWrapper" class="pass-make-text" style="display:none;"></p>
                <p id="TANGRAM__PSP_4__hiddenFields" style="display:none">
                    <input type="hidden" id="TANGRAM__PSP_4__codeString" name="codeString" value="">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__safeFlag" name="safeFlag" value="0">
                    <input type="hidden"
                                                                                                     id="TANGRAM__PSP_4__u"
                                                                                                     name="u"
                                                                                                     value="">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__isPhone" name="isPhone" value="">
                    <input type="hidden"
                                                                                                  id="TANGRAM__PSP_4__detect"
                                                                                                  name="detect"
                                                                                                  value="1">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__gid" name="gid"
                        value="C0DB96E-16F5-4243-A643-423D810F58A8">
                    <input type="hidden" id="TANGRAM__PSP_4__staticPage"
                                                                           name="staticPage"
                                                                           value="http://tieba.baidu.com/tb/static-common/html/pass/v3Jump.html">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__quick_user" name="quick_user" value="0"><input type="hidden"
                                                                                                         id="TANGRAM__PSP_4__logintype"
                                                                                                         name="logintype"
                                                                                                         value="basicLogin">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__logLoginType" name="logLoginType" value="pc_loginBasic">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__subpro" name="subpro" value="">
                    <input type="hidden"
                                                                                                id="TANGRAM__PSP_4__idc"
                                                                                                name="idc"
                                                                                                value="">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__loginMerge" name="loginMerge" value="true">
                    <input
                        type="hidden" id="TANGRAM__PSP_4__mkey" name="mkey" value="">
                </p>
                <p id="TANGRAM__PSP_4__userNameWrapper" class="pass-form-item pass-form-item-userName" style="display:">
                    <input type="text" style="display:none;">
                    <input id="TANGRAM__PSP_4__userName" type="text"
                                                                    name="userName"
                                                                    class="pass-text-input pass-text-input-userName"
                                                                    autocomplete="off" value="dragon" placeholder="手机/邮箱/用户名"><span
                        id="TANGRAM__PSP_4__userName_clearbtn" class="pass-clearbtn pass-clearbtn-userName"
                        style="display: none; visibility: hidden; opacity: 1;">
                    <!--伍六柒u-->
                </span><span
                        id="TANGRAM__PSP_4__userNameTip" class="pass-item-tip pass-item-tip-userName"
                        style="display:none"><span id="TANGRAM__PSP_4__userNameTipText"
                                                   class="pass-item-tiptext pass-item-tiptext-userName"></span></span>
                </p>
                <p id="TANGRAM__PSP_4__passwordWrapper" class="pass-form-item pass-form-item-password" style="display:">
                    <input type="password" style="display: none;"><input id="TANGRAM__PSP_4__password" type="password"
                                                                         name="password"
                                                                         class="pass-text-input pass-text-input-password"
                                                                         autocomplete="off" value="111"
                                                                         placeholder="密码"><span
                        id="TANGRAM__PSP_4__password_clearbtn" class="pass-clearbtn pass-clearbtn-password"
                        style="display:none;"></span><span id="TANGRAM__PSP_4__passwordTip"
                                                           class="pass-item-tip pass-item-tip-password"
                                                           style="display:none"><span
                        id="TANGRAM__PSP_4__passwordTipText"
                        class="pass-item-tiptext pass-item-tiptext-password"></span></span></p>
                <p id="TANGRAM__PSP_4__verifyCodeImgWrapper" class="pass-form-item pass-form-item-verifyCode"
                   style="display:none"><input id="TANGRAM__PSP_4__verifyCode" type="text" name="verifyCode"
                                               class="pass-text-input pass-text-input-verifyCode" maxlength="6"
                                               placeholder="验证码"><span id="TANGRAM__PSP_4__verifyCode_clearbtn"
                                                                       class="pass-clearbtn pass-clearbtn-verifyCode"
                                                                       style="display:none;"></span><span
                        id="TANGRAM__PSP_4__verifyCodeImgParent" class="pass-verifyCodeImgParent">
                    <!--<img
                        id="TANGRAM__PSP_4__verifyCodeImg" class="pass-verifyCode"
                        src="http://passport.bdimg.com/passApi/img/small_blank.gif">-->
                </span><a
                        id="TANGRAM__PSP_4__verifyCodeChange" href="#" class="pass-change-verifyCode">换一张</a><span
                        id="TANGRAM__PSP_4__verifyCodeError" class="pass-error pass-error-verifyCode"></span><span
                        id="TANGRAM__PSP_4__verifyCodeTip" class="pass-tip pass-tip-verifyCode"></span><span
                        id="TANGRAM__PSP_4__verifyCodeSuccess" class="pass-success pass-success-verifyCode"></span></p>
                <p id="TANGRAM__PSP_4__memberPassWrapper"
                   class="pass-form-item pass-form-item-memberPass memberPass-hidden"><input
                        id="TANGRAM__PSP_4__memberPass" type="checkbox" name="memberPass"
                        class="pass-checkbox-input pass-checkbox-memberPass" checked="checked"><label
                        for="TANGRAM__PSP_4__memberPass" id="TANGRAM__PSP_4__memberPassLabel" class="">下次自动登录</label>
                </p>
                <p id="TANGRAM__PSP_4__submitWrapper" class="pass-form-item pass-form-item-submit"><input
                        id="TANGRAM__PSP_4__submit" type="submit" value="登录" class="pass-button pass-button-submit"><a
                        class="pass-fgtpwd pass-link"
                        href="#"
                        target="_blank">忘记密码？</a></p></form>
        </div>
        <div id="TANGRAM__PSP_4__qrcode" class="clearfix tang-pass-qrcode tang-pass-login"
             style="display: none; visibility: hidden; opacity: 1;"><p class="pass-form-logo">扫码登录</p>
            <div class="tang-pass-qrcode-content" id="TANGRAM__PSP_4__qrcodeContent">
                <div class="tang-pass-qrcode-init">
                    <div class="Qrcode-status-con tang-pass-qrcode-imgWrapper" id="TANGRAM__PSP_4__QrcodeMain"
                         style="display: block; visibility: visible; opacity: 1; margin-left: 39px;"><img
                            class="tang-pass-qrcode-img"
                            src="http://passport.baidu.com/v2/api/qrcode?sign=v1_befd4d5f37a6456f9ca45b25a0c07&amp;lp=pc&amp;qrloginfrom=pc">
                        <p class="Qrcode-status-animation Qrcode-status-guideAnim"
                           id="TANGRAM__PSP_4__QrcodeAnimation"></p></div>
                    <div class="Qrcode-status-con Qrcode-status-success" id="TANGRAM__PSP_4__QrcodeSuccess"
                         style="display: none;"><p class="Qrcode-status-icon"></p>
                        <p>扫描成功</p>
                        <p class="Qrcode-status-msg">请在手机端确认登录</p></div>
                    <div class="Qrcode-status-con Qrcode-status-error" id="TANGRAM__PSP_4__QrcodeError"
                         style="display: none;"><p class="Qrcode-status-icon"></p>
                        <p>网络连接失败</p>
                        <p class="Qrcode-refresh-btn" id="TANGRAM__PSP_4__QrcodeErrorfreshBtn">点击刷新</p></div>
                    <div class="Qrcode-status-con Qrcode-status-refresh" id="TANGRAM__PSP_4__QrcodeRefresh"
                         style="display: none;"><p class="Qrcode-status-icon"></p>
                        <p class="refresh-title refresh-timeout">二维码已失效</p>
                        <p class="refresh-title refresh-loadout">二维码加载失败</p>
                        <p class="Qrcode-refresh-btn" id="TANGRAM__PSP_4__QrcodeRefreshBtn">点击刷新</p></div>
                </div>
            </div>
            <p class="tang-pass-qrcode-title"></p>
            <p class="login-qrcode-title">请使用 <span class="font-key">百度贴吧App</span> 扫码登录</p>
            <p class="login-qrcode-tip">最新版百度贴吧App -「我的」右上角 - 扫一扫</p>
            <p></p>
            <ul class="tang-pass-qrcode-ullist">
                <li class="tang-pass-qrcode-list"><span class="tang-pass-qrcode-list-aq"></span><span>安全</span></li>
                <li class="tang-pass-qrcode-list"><span class="tang-pass-qrcode-list-gx"></span><span>高效</span></li>
                <li class="tang-pass-qrcode-list"><span class="tang-pass-qrcode-list-bj"></span><span>便捷</span></li>
            </ul>
        </div>
        <div class="tang-pass-footerBar"><p class="tang-pass-footerBarQrcode pass-link" title="扫码登录" data-type="qrcode"
                                            id="TANGRAM__PSP_4__footerQrcodeBtn" style="">扫码登录</p>
            <p class="tang-pass-footerBarULogin pass-link" title="用户名登录" data-type="normal"
               id="TANGRAM__PSP_4__footerULoginBtn" style="display: none;">用户名登录</p><a class="pass-reglink pass-link"
                                                                                       href="regist.html"
                                                                                       target="_blank">立即注册</a></div>
        <span class="close-btn"></span>
        <p class="custom-pass-link"><span class="download-tieba-app pass-link">下载贴吧App</span><span
                class="close-app-qr pass-link">关闭二维码</span></p>
        <div class="pass-tieba-app-wrapper">
            <div class="app-download-icon"></div>
        </div>
    </div>
</div>
<!--<script>    _.Module.use('creativeplatform/widget/normalApp', [[]]);</script>-->
<!--<script>        _.Module.use('common/widget/AdStats', [{}]);    </script>-->
<script type="text/javascript">void function (e, t, n, a, o, c) {
    function s(t) {
        e.attachEvent ? e.attachEvent("onload", t, !1) : e.addEventListener && e.addEventListener("load", t)
    }

    function r(e, n, a) {
        a = a || 15;
        var o = new Date;
        o.setTime((new Date).getTime() + 1e3 * a), t.cookie = e + "=" + escape(n) + ";path=/;expires=" + o.toGMTString()
    }

    function i(e) {
        var n = t.cookie.match(new RegExp("(^| )" + e + "=([^;]*)(;|$)"));
        return null != n ? unescape(n[2]) : null
    }

    function l() {
        var e = i("PMS_JT");
        if (e) {
            r("PMS_JT", "", -1);
            try {
                e = e.match(/{["']s["']:(\d+),["']r["']:["']([\s\S]+)["']}/), e = e && e[1] && e[2] ? {
                    s: parseInt(e[1]),
                    r: e[2]
                } : {}
            } catch (n) {
                e = {}
            }
            e.r && t.referrer.replace(/#.*/, "") != e.r || alog("speed.set", "wt", e.s)
        }
    }

    if (e.alogObjectConfig) {
        var d = e.alogObjectConfig.sample, p = e.alogObjectConfig.rand;
        a = "https:" === e.location.protocol ? "https://fex.bdstatic.com" + a : "http://fex.bdstatic.com" + a, d && p && p > d || (s(function () {
            alog("speed.set", "lt", +new Date), o = t.createElement(n), o.async = !0, o.src = a + "?v=" + ~(new Date / 864e5) + ~(new Date / 864e5), c = t.getElementsByTagName(n)[0], c.parentNode.insertBefore(o, c)
        }), l())
    }
}(window, document, "script", "/hunter/alog/dp.min.js"), $(window).on("load", function () {
    window.xssfw && xssfw.watch(function (e) {
        e && $.sendAjaxError({
            msg: $.tb.escapeHTML("xss---" + (e.code.replace(/\s/g, "|") || "")),
            locator: $.tb.escapeHTML(e.path.replace(/\s/g, "|") || "")
        })
    })
});</script>
<script type="text/javascript">!function (e) {
    function o(e) {
        if (0 != e.length) {
            var o = new Image(1, 1), t = "img_" + +new Date, a = [], n = e.split("&");
            a.push("ts=9mp&t=csp&sid=" + v + "&dv=5&page=" + encodeURIComponent(d.pageId) + "&p=" + encodeURIComponent(d.productId) + "&type=CROSS_SITE_RES");
            for (var r = 0; r < n.length; ++r) a.push("desc" + r + "=" + n[r]);
            I[t] = o, o.onload = o.onerror = function () {
                I[t] = o = o.onload = o.onerror = null, delete I[t]
            }, o.src = l + "/tb/pms/img/st.gif?" + a.join("&")
        }
    }

    function t(e) {
        return e = e.replace(/\s/g, "").replace(/\./g, "\\.").replace(/\*/g, ".*").replace(/\?/g, "."), "^" + e + "$"
    }

    function a() {
        for (var e = d["default-exclude"], o = 0; o < e.length; ++o) {
            var a = RegExp(t(e[o]), "i");
            g.push(a)
        }
        1 == d["exclude-host"] && g.push(RegExp(m, "i"))
    }

    function n() {
        var e = window.performance.getEntriesByType("resource");
        window.performance.clearResourceTimings && window.performance.clearResourceTimings();
        for (var t = 0; t < e.length; ++t) {
            var a = e[t].name;
            if (a && void 0 == s[a]) {
                var n = a.match(f);
                if (n) {
                    n = n[1], /[:@]/.test(n) && (n = n.split("@").pop().split(":")[0]);
                    for (var r = 0; r < g.length; ++r) {
                        var i = g[r];
                        if (i.test(n)) {
                            s[a] = 1;
                            break
                        }
                    }
                    a.indexOf(l) >= 0 && (s[a] = 1), void 0 == s[a] && (s[a] = 0)
                }
            }
        }
        var p = [], c = 0;
        for (var d in s) if (0 == s[d]) {
            var m = encodeURIComponent(d);
            c + m.length >= u && (c > 0 && o(p.join("&")), c = 0, p = []), c += m.length, p.push(m), s[d] = 1
        }
        p.length > 0 && o(p.join("&"))
    }

    function r() {
        var e = 48, o = 2, t = 1e4, a = 0, i = setInterval(function () {
            a++
        }, 16), p = 0, c = setInterval(function () {
            e > a ? p = 0 : ++p == o && (clearInterval(i), clearInterval(c), n(), setTimeout(r, t)), a = 0
        }, 1e3)
    }

    function i() {
        a(), window.performance && window.performance.getEntriesByType && r()
    }

    var p = {
        index: {pv: 65e6, pageId: "14_329", leakPageId: "14_342"},
        frs: {pv: 13e7, pageId: "14_331", leakPageId: "14_343"},
        pb: {pv: 3e8, pageId: "14_333", leakPageId: "14_344"},
        ihome: {pv: 3e6, pageId: "14_321", leakPageId: "14_341"},
        tbmall: {pv: 3e6, pageId: "14_322", leakPageId: "14_345"},
        itieba3: {pv: 5e6, pageId: "14_323", leakPageId: "14_346"},
        other: {pv: 3e5, pageId: "14_327", leakPageId: "14_347"}
    }, c = p[PageData.product] ? PageData.product : "other", d = {
        sample: 1e5 / p[c].pv,
        "exclude-host": "https:" == window.location.protocol ? !1 : !0,
        "default-exclude": "https:" == window.location.protocol ? [] : ["*.bdstatic.com", "*.baidu.com", "*.tiebaimg.com", "*.bdimg.com", "*.duoku.com", "*.bcebos.com", "*.ykimg.com", "*.youku.com"],
        productId: 14,
        pageId: "https:" == window.location.protocol ? p[c].leakPageId : p[c].pageId
    }, l = "http://static.tieba.baidu.com";
    "https:" == window.location.protocol && (l = "https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK");
    var g = [], s = {}, u = 1200, m = location.hostname, I = {},
        v = e.logId || (+new Date).toString(36) + Math.random().toString(36).substr(2, 3),
        f = /^(?:http?:\/\/)([^\/]+)/i;
    Math.random() <= d.sample && i()
}(window);</script>

</body>
</html>


<!--
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="Login.css"/>
    <script src="/js/plugins/js-cookie/js.cookie.min.js"></script>
    <script src="/js/vue/md5.js"></script>
    <script src="/js/jquery/jquery.js"></script>
    <script src="/js/vue/common.js"></script>
    <script src="/js/plugins/jquery-form/jquery.form.js"></script>
</head>
<script>
    $(function () {
        $("#_js_loginBtn").click(function () {
            $("#_j_login_form").ajaxSubmit({
                url:domainUrl +"/users/login",
                type:"POST",
                success:function (data) {
                    if(data.code == 200){
                        var map = data.data;
                        var token = map.token;  //后续后端获取当前登录用户信息
                        var user = map.user;  //前端页面需要显示用户信息
                        console.log(data);
                        //sessionStorage  客户端技术可以在浏览器窗口存储数据, 一但关闭窗口,
                        // 数据就没了, 是如果多个窗口, 数据无法共享

                        //localStorage  客户端技术可以在浏览器窗口存储数据, 数据操作是永久

                        //cookie 客户端技术可以在浏览器窗口存储数据, 特点有时效性

                        //参数1:cookie的key值, 参数2: cookie的value值, 参数3: 有效时间, 单位天
                        Cookies.set('user', JSON.stringify(user), { expires: 1/48,path:'/'});
                        Cookies.set('token', token, { expires: 1/48,path:'/'});
                        //document.referrer 上一个请求路径
                        var url = document.referrer ? document.referrer : "/";
                        if(url.indexOf("regist.html") > -1 || url.indexOf("login.html") > -1){
                            url = "/";
                        }
                        window.location.href = url
                    }else{
                        console.log(data);
                        popup(data.msg);
                    }
                }
            })
        })
    })
</script>
<body>
<div id="login">
    <h1>Login</h1>
    <form id="_j_login_form" method="post">
        <label>
            <input type="text" required="required" placeholder="用户名" value="dragon" name="username"/>
        </label>
        <label>
            <input type="password" required="required" placeholder="密码" value="111" name="password"/>
        </label>
        <button id="_js_loginBtn" class="but" type="button">登录</button>
    </form>
</div>
</body>

</html>-->
